:root {
  /* 主色调 */
  --color-primary: rgba(118, 156, 255, 0.9);
  --color-primary-light: rgba(118, 156, 255, 0.2);
  --color-accent: rgba(255, 217, 172, 0.9);
  --color-accent-light: rgba(255, 217, 172, 0.2);
  
  /* 中性色 */
  --color-white: #ffffff;
  --color-off-white: #f9f9f7;
  --color-light-gray: #f0f0ee;
  --color-mid-gray: #e5e5e3;
  --color-light-wood: #f5eee6;
  --color-dark-wood: #e9dfd4;
  
  /* 文字颜色 */
  --text-primary: #404045;
  --text-secondary: #777780;
  --text-highlight: #a98857;
  --text-light: #9999a3;
  
  /* 阴影和效果 */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 8px 25px rgba(169, 136, 87, 0.15);
  --glow-primary: 0 0 15px rgba(118, 156, 255, 0.3);
  --glow-accent: 0 0 15px rgba(255, 217, 172, 0.3);
  
  /* 过渡效果 */
  --transition-quick: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-smooth: 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  --transition-breathe: 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 全局背景纹理 */
body {
  background-color: var(--color-off-white);
  background-image: 
    linear-gradient(rgba(240, 240, 240, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 240, 240, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-primary);
}

/* 添加随机噪点纹理 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbu ce type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  z-index: -1;
}

/* 呼吸动画定义 */
@keyframes breathe {
  0%, 100% {
    box-shadow: var(--shadow-soft);
    opacity: 0.95;
  }
  50% {
    box-shadow: var(--glow-primary);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

/* 淡入淡出效果 */
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
} 